package com.xiaoshuidi.cloud.module.contract.convert.contract;

import com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.settlement.SettlementDetailBaseVO;
import com.xiaoshuidi.cloud.module.contract.dal.dataobject.contract.SettlementDetailDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 结算单明细 Convert
 *
 * @author 合房租赁
 */
@Mapper
public interface SettlementDetailConvert {

    SettlementDetailConvert INSTANCE = Mappers.getMapper(SettlementDetailConvert.class);


    List<SettlementDetailDO> convert(List<SettlementDetailBaseVO> settlementVos);

    List<SettlementDetailBaseVO> convert2(List<SettlementDetailDO> list);
}
